laravel redirect to intended page after register

60

protected $redirectTo = 'dashboard';

public function redirectTo(){
    return redirect()->intended($this->redirectTo)->getTargetUrl();
}

Comments

Submit
0 Comments